]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
js: Don't reset selected tab index in open() of looking glass
authorsudigit <sudikshakadam2020@gmail.com>
Sat, 3 Jan 2026 15:24:24 +0000 (20:54 +0530)
committerMarge Bot <marge-bot@gnome.org>
Tue, 6 Jan 2026 06:34:40 +0000 (06:34 +0000)
The looking glass will reopen with the previously opened tab.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8294
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4027>

js/ui/lookingGlass.js

index 6ff6991bad8083c3b93b94a0ffb7fef46744eb73..a165ae2711983842b9559f2c80d6c1473543be04 100644 (file)
@@ -1663,7 +1663,6 @@ class LookingGlass extends St.BoxLayout {
         }
 
         this._grab = grab;
-        this._notebook.selectIndex(0);
         this.show();
         this._open = true;
         this._history.lastItem();